#ifndef     __MOTORS_H
#define     __MOTORS_H

#include "../utils/nocopyable.h"
#include "../utils/error.h"

namespace main_driver {

class Motors : private NoCopyable {

public:
    static constexpr uint32_t PICK_TIMEOUT = 30 * 1000;
    static constexpr uint32_t PICK_ALM = 200;
    static constexpr uint32_t FILM_TIMEOUT = 30 * 1000;

    void init();

    Error pick1_open();
    Error pick1_close();

    Error pick2_open();
    Error pick2_close();

    Error film();
    Error straw_open();
    Error straw_close();

private:

};

extern Motors motors;

}


#endif
